Package com.cisco.pt.ipc.sim.pdu
Interface Dot1qHeader
- All Superinterfaces:
EthernetHeader,Header,IPCData,Pdu,Signal
- All Known Implementing Classes:
Dot1qHeaderImpl
-
Method Summary
Modifier and TypeMethodDescriptiongetCfi()getTpid()voidvoidvoidsetTypeLength(Short typeLength) voidsetUserPriority(Byte userPriority) voidMethods inherited from interface com.cisco.pt.ipc.sim.pdu.EthernetHeader
getDstMacAddress, getFrameCheckSequence, getSrcMacAddress, setDstMacAddress, setFrameCheckSequence, setSrcMacAddressMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
encodeTypeAndPayload, getFieldValue, getOrderedFieldNames, pduRead
-
Method Details
-
getTpid
Short getTpid()- Returns:
- Short Returns a Short
-
setTpid
- Parameters:
tpid- Takes in a parameter of tpid
-
getUserPriority
Byte getUserPriority()- Returns:
- Byte Returns a Byte
-
setUserPriority
- Parameters:
userPriority- Takes in a parameter of userPriority
-
getCfi
Byte getCfi()- Returns:
- Byte Returns a Byte
-
setCfi
- Parameters:
cfi- Takes in a parameter of cfi
-
getVlanId
Short getVlanId()- Returns:
- Short Returns a Short
-
setVlanId
- Parameters:
vlanId- Takes in a parameter of vlanId
-
getTypeLength
Short getTypeLength()- Returns:
- Short Returns a Short
-
setTypeLength
- Parameters:
typeLength- Takes in a parameter of typeLength
-